package com.kmust.dream.wanderingdream.product.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.multipart.MultipartFile;

@FeignClient("wanderingdream-upload")
public interface UploadFeign {

    @PostMapping(value = "/upload/uploadFile",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
    String getUrl(MultipartFile file);
}
